package com.yugao.fintech.vctgone.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yugao.fintech.vctgone.admin.pojo.po.SysLog;
import com.yugao.fintech.vctgone.admin.pojo.query.LogQuery;
import com.yugao.fintech.vctgone.admin.pojo.vo.LogVO;
import com.yugao.fintech.vctgone.auth.api.dto.LogDTO;
import com.yugao.fintech.vctgone.mybatisplus.util.PageUtil;
import jakarta.servlet.http.HttpServletResponse;


public interface LogService extends IService<SysLog> {
    /**
     * 保存日志
     * @param dto /
     */
    void saveLog(LogDTO dto);

    /**
     * 获取日志
     * @param queryParam /
     * @return /
     */
    PageUtil<LogVO> getLogs(LogQuery queryParam);

    /**
     * 删除日志
     * @param ids /
     */
    void deleteLogs(String ids);

    /**
     * 导出日志
     * @param queryParam /
     * @param response /
     */
    void export(LogQuery queryParam, HttpServletResponse response);
}
